package com.wobangkj.common.service;

import com.wobangkj.common.model.crud.Liked;

import java.util.List;
import java.util.Map;

public interface LikedService {
    Object delete(Long id);

    Object create(Liked liked);

    Object id(Long id);

    List<Liked> findById(String likerId,String likedContentId, String likedClass);

    List<Map> findMy(String Id);

    void updateShareNumById(Long id);

    void updateDynamicNumById(Long id);

    void updateCommentNumById(Long id);

    void deleteShareNumById(Long id);

    void deleteDynamicNumById(Long id);

    void deleteCommentNumById(Long id);

    String getSharerId(String ContentId);

    String getDynamicPublisherId(String ContentId);

    String getCommentPublisherId(String ContentId);

    Long findLiked(String likerId, String likedContentId,String likedClass);
}
